//
//  TransitionObj.h
//  TransitionAnimation
//
//  Created by tgs on 2017/6/26.
//  Copyright © 2017年 tgs. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

typedef NS_ENUM(NSUInteger, PresentTransitionType) {
    PresentTransitionTypePresent = 0,
    PresentTransitionTypeDismiss
};


@interface TransitionObj : NSObject<UIViewControllerAnimatedTransitioning>


+ (instancetype)transitionWithTransitionType:(PresentTransitionType)type;

- (instancetype)initWithTransitionType:(PresentTransitionType)type;

@end
